﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;

namespace Database
{
    public class DbScooter : Iscooter
    {
         int stelnummer;
        string maerke;
        int kmAntal;
        int kundeNr;
        string scooterType;

        public DbScooter(int stelnummer, string maerke, int kundeNr, string scooterType)
        {
            this.stelnummer = stelnummer;
            this.maerke = maerke;
            this.kundeNr = kundeNr;
            this.scooterType = scooterType;
        }
        public DbScooter(string maerke,int stelnummer, int kmAntal)
        {
            this.stelnummer = stelnummer;
            this.maerke = maerke;
            this.kmAntal = kmAntal;
        }

        public int Stelnummer
        {
            get { return stelnummer; }
            set { stelnummer = value; }
        }
        public string Maerke
        {
            get { return maerke; }
            set { maerke = value; }
        }
        public int KmAntal
        {
            get { return kmAntal; }
            set { kmAntal = value; }
        }
        public int KundeNr
        {
            get { return kundeNr; }
            set { kundeNr = value; }
        }
    }
}
